<template>
  <div class="tabletitle">
    <div class="tabletitleleft">
      <i class="el-icon-s-unfold"></i>
      <span>数据列表</span>
    </div>
    <div class="tabletitleright">
      <slot name="btn"></slot>
    </div>
  </div>
</template>

<style lang="less" scoped>
.tabletitle {
  height: 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 10px;
  margin-top: 15px;
  background: #f3f3f3;
  .tabletitleleft {
    i {
      vertical-align: middle;
      font-size: 18px;
    }
  }
}
</style>
